package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 发型师邀请记录
 *
 * @author Atlakyn
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("d_worker_invite")
public class WorkerInvite extends Model<WorkerInvite> {
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户 id
     */
    private Integer userId;

    /**
     * 发型师 id
     */
    private Integer workerId;

    /**
     * 邀请时间
     */
    private Date inviteTime;

    /**
     * 结束时间(用户换绑时间)
     */
    private Date endTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
}
